runtime.mheap.curArena (field)
18 uses
runtime (current package)
mheap.go#L202: curArena struct {
mheap.go#L1556: firstGrow := h.curArena.base == 0
mheap.go#L1568: end := h.curArena.base + ask
mheap.go#L1570: if nBase > h.curArena.end || /* overflow */ end < h.curArena.base {
mheap.go#L1581: if uintptr(av) == h.curArena.end {
mheap.go#L1584: h.curArena.end = uintptr(av) + asize
mheap.go#L1589: if size := h.curArena.end - h.curArena.base; size != 0 {
mheap.go#L1593: sysMap(unsafe.Pointer(h.curArena.base), size, &gcController.heapReleased, "heap")
mheap.go#L1600: h.pages.grow(h.curArena.base, size)
mheap.go#L1604: h.curArena.base = uintptr(av)
mheap.go#L1605: h.curArena.end = uintptr(av) + asize
mheap.go#L1614: h.curArena.base = alignDown(h.curArena.base|(offset<<logPallocChunkBytes), pallocChunkBytes)
mheap.go#L1622: nBase = alignUp(h.curArena.base+ask, physPageSize)
mheap.go#L1626: v := h.curArena.base
mheap.go#L1627: h.curArena.base = nBase
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |